ASP.NET MVC Controls
CssStyle Method

The key of the CSS property
The value of the CSS property
Sets one CSS property.
Syntax
'Declaration
 
Public Function CssStyle( _
   ByVal key As String, _
   ByVal value As String _
) As TControlBuilder
public TControlBuilder CssStyle( 
   string key,
   string value
)

Parameters

key
The key of the CSS property
value
The value of the CSS property

Return Value

Current builder
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ControlBuilder<TControl,TControlBuilder> Class
ControlBuilder<TControl,TControlBuilder> Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback